package com.travelsky.login.domain;

/**
 * 用户信息
 */
public class User {
  /**名字*/
  private String userName;
  /**手机号*/
  private String mobile;
  /**账户信息*/
  private Account account;
  /**营业部*/
  private Department department;

  /**
   * Gets the value of userName.
   *
   * @return the value of userName
   */
  public String getUserName() {
    return userName;
  }

  /**
   * Sets the userName. *
   *
   * @param userName userName
   * @return this
   */
  public User setUserName(String userName) {
    this.userName = userName;
    return this;
  }

  /**
   * Gets the value of mobile.
   *
   * @return the value of mobile
   */
  public String getMobile() {
    return mobile;
  }

  /**
   * Sets the mobile. *
   *
   * @param mobile mobile
   * @return this
   */
  public User setMobile(String mobile) {
    this.mobile = mobile;
    return this;
  }

  /**
   * Gets the value of account.
   *
   * @return the value of account
   */
  public Account getAccount() {
    return account;
  }

  /**
   * Sets the account. *
   *
   * @param account account
   * @return this
   */
  public User setAccount(Account account) {
    this.account = account;
    return this;
  }

  /**
   * Gets the value of department.
   *
   * @return the value of department
   */
  public Department getDepartment() {
    return department;
  }

  /**
   * Sets the department. *
   *
   * @param department department
   * @return this
   */
  public User setDepartment(Department department) {
    this.department = department;
    return this;
  }
}
